package com.hanson.controller;

import com.hanson.common.entity.Page;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

/**
 * @Description TODO
 * @auther Hanson
 * @create 2020/4/13 20:06
 */
@Controller
@RequestMapping("/api/v1/hanson/page")
public class PageController {

    @RequestMapping("/addPageInfo")
    @ResponseBody
    public Page addPageInfo(String id, Page page){
        System.out.println(page);
        return page;
    }
}
